package com.workstudy.wstudy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;
import com.workstudy.common.core.domain.BaseEntity;

/**
 * 岗位审核对象 wst_post_examine
 * 
 * @author sun
 * @date 2021-04-07
 */
public class WstPostExamine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long postId;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long publishUserId;

    /** 检查人ID */
    @Excel(name = "检查人ID")
    private Long exmineUserId;

    private WstPost post;

    public WstPostExamine() {
    }

    public WstPostExamine(Long postId, Long publishUserId, Long exmineUserId) {
        this.postId = postId;
        this.publishUserId = publishUserId;
        this.exmineUserId = exmineUserId;
    }

    public WstPost getPost() {
        return post;
    }

    public void setPost(WstPost post) {
        this.post = post;
    }

    public void setPostId(Long postId)
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setPublishUserId(Long publishUserId) 
    {
        this.publishUserId = publishUserId;
    }

    public Long getPublishUserId() 
    {
        return publishUserId;
    }
    public void setExmineUserId(Long exmineUserId) 
    {
        this.exmineUserId = exmineUserId;
    }

    public Long getExmineUserId() 
    {
        return exmineUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postId", getPostId())
            .append("publishUserId", getPublishUserId())
            .append("exmineUserId", getExmineUserId())
            .toString();
    }
}
